import Prouter from "../router/Prouter";
import Trouter from "../router/Trouter";
import Yrouter from "../router/Yrouter";
import Zrouter from "../router/Zrouter";
import Test from "./TestC"
const Crouter = {

  name: "home",
  path: "/",
  meta: "首页",
  redirect: "parson",
  component: () => import("../components/home.vue"),
  children: [

    Zrouter,
    Yrouter,
    Prouter,
    Test,
    Trouter,
    {
      name:'parson',
      path: '/parson',
      meta:'个人中心',
      component:()=>import("../views/Y/parson/parson.vue")
    }
,
    {
      name: "system",
      path: "/system",
      meta: "用户管理",
      component: () => import("../views/C/system/system.vue"),
    },
    {
      name: "role",
      path: "/role",
      meta: "角色管理",
      component: () => import("../views/C/system/role.vue"),
    },
    {
      name: "menu",
      path: "/menu",
      meta: "菜单管理",
      component: () => import("../views/C/system/menu.vue"),
    },
    {
      name: "department",
      path: "/department",
      meta: "部门管理",
      component: () => import("../views/C/system/department.vue"),
    },
    {
      name: "postall",
      path: "/postall",
      meta: "岗位管理",
      component: () => import("../views/C/system/postall.vue"),
    },
    {
      name: "operation_log",
      path: "/operation_log",
      meta: "操作日志",
      component: () => import("../views/C/system/operation_log.vue"),
    },
    {
      name: "logging",
      path: "/logging",
      meta: "登录日志",
      component: () => import("../views/C/system/logging.vue"),
    },
    {
      name: "Contract",
      path: "/contract",
      meta: "合同管理",
      component: () => import("../views/C/contract/Contract.vue"),
    },
    {
      name: "Contractmy",
      path: "/contractmy",
      meta: "合同管理",
      component: () => import("../views/C/contract/Contractmy.vue"),
    },
    {
      name: "Dimission",
      path: "/dimission",
      meta: "员工离职",
      component: () => import("../views/C/dimission/Dimission.vue"),
    },
    {
      name: "perosnnel",
      path: "/perosnnel",
      meta: "人事新增",
      component: () => import("../views/C/personnel/perosnnel.vue"),
    },
    {
      name:"deploy",
      path:"/deploy",
      meta: "流程部署",
      component:() => import("../views/C/flowable/Deploy.vue")
    },

    {
      name:"IssueFlow",
      path:"/issueFlow",
      meta: "发布流程",
      component:() => import("../views/C/flowable/IssueFlow.vue")
    }
  ],

};
export default Crouter;
